package org.dubnation.base.excel.download.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class ShopVO implements Serializable {

    @Excel(name = "店铺名称", width = 20, replace = {"无_null"})
    private String name;
    @Excel(name = "店铺座机", width = 20, replace = {"无_null"})
    private String tel;
    @Excel(name = "注册时间", format = "yyyy-MM-dd HH:mm:ss", width = 20, replace = {"无_null"})
    private Date registerTime;
    /**
     * 1=待审核 2=审核通过待激活 3=激活成功 4=驳回
     */
    @Excel(name = "状态", width = 10, replace = {"待审核_1", "审核通过待激活_2", "激活成功_3", "驳回_4", "无_null"})
    private Integer state;
    @Excel(name = "店铺地址", width = 20, replace = {"无_null"})
    private String address;
    @Excel(name = "店铺logo", width = 40, replace = {"无_null"}, type = 2)
    private String logo;
}
